package io.gitee.wl4837.alatool.core.response;

/**
 * @author wangliang
 */

public enum ControllerPathType {

    DELETE("/delete", "删除", "", ""),
    REMOVE("/remove", "删除", "", ""),
    CREATE("/create", "创建", "", ""),
    CREATE_BATCH("/create/batch", "批量创建", "", ""),
    ADD("/add", "创建", "", ""),
    ADD_BATCH("/add/batch", "批量创建", "", ""),
    EDIT("/edit", "更新", "", ""),
    EDIT_BATCH("/edit/batch", "批量更新", "", ""),
    UPDATE("/update", "更新", "", ""),
    SAVE("/save", "保存", "", ""),
    STATUS("/status", "状态", "", ""),
    STATUS_UPDATE("/status/update", "状态修改", "", ""),
    STATUS_UPDATE_BATCH("/status/update/batch", "状态批量修改", "", ""),
    LIST("/list", "列表", "", ""),
    DOWNLOAD("/download", "下载", "", ""),
    TOTAL("/total", "总数", "", ""),
    SUM("/sum", "统计", "", ""),
    DETAIL("/detail", "详情", "", ""),
    SELECT("/select", "选择器", "", ""),
    EXPORT("/export", "导出", "", ""),
    EXPORT_EXCEL("/export/excel", "导出Excel", "", ""),
    IMPORT("/import", "导入", "", ""),
    IMPORT_EXCEL("/import/excel", "导入Excel", "", ""),
    TREE("/tree", "树列表", "", ""),
    LOCK("/lock", "锁", "", ""),
    CACHE_CLEAR("/cache/clear", "缓存清理", "", ""),
    TABLE("/table", "表格", "", ""),
    SEARCH_CUSTOM("/search/custom", "搜索自定义", "", ""),
    TABLE_CUSTOM("/table/custom", "表格自定义", "", ""),
    CREATE_CUSTOM("/create/custom", "创建自定义", "", ""),
    UPDATE_CUSTOM("/update/custom", "编辑自定义", "", ""),
    SAVE_CUSTOM("/save/custom", "保存自定义", "", ""),
    CONFIG_INDEX("/config/index", "配置视图", "", ""),
    CONFIG_LIST("/config/list", "配置列表", "", ""),
    CONFIG_CUSTOM("/config/custom", "配置自定义", "", ""),
    CONFIG_DETAIL("/config/detail", "配置详情", "", ""),
    CONFIG_CREATE("/config/create", "配置添加", "configCreate", ""),
    CONFIG_UPDATE("/config/update", "配置修改", "configUpdate", ""),
    CONFIG_SAVE("/config/save", "配置保存", "configSave", ""),
    INDEX("/index", "视图", "index", "");

    private String path;

    private String name;

    private String key;

    private String description;

    ControllerPathType(String path, String name, String key, String description) {
        this.path = path;
        this.name = name;
        this.key = key;
        this.description = description;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String type) {
        this.path = path;
    }

    public String getName() {
        return name();
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

}
